<template>
  <div class="goods">
    <GoodsItem
      v-for="(item, index) in goods"
      :key="index"
      :goodsItem="item"
      class="goodsItem"
    />
  </div>
</template>

<script>
import GoodsItem from "./GoodsListItem";
export default {
  data() {
    return {};
  },
  props: {
    goods: {
      type: Array,
      default: [],
    },
  },
  components: { GoodsItem },
  created() {},
  methods: {},
};
</script>

<style lang='less' scoped>
.goods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
</style>
